package com.hjh.gameforum.mapper;

import com.hjh.gameforum.entity.Reply;
import com.hjh.gameforum.vo.ReplyVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReplyMapper {

    void createReply(Reply reply);

    List<ReplyVo> getReplyList(Long topicId);

    void likeReply(Integer replyId);

    void unlikeReply(Integer replyId);

    Long getTotalReplys();
}
